import { createRouter, createWebHistory } from "vue-router";
import Home from "../views/Home.vue";

const routerHistory = createWebHistory()
const routes = [
	{
		path: '/',
		component: Home
	},
	{
		path: '/login',
		name: 'Login',
		component: () => import('@/views/Login/index.vue')
	},
	{
		path: '/reg-company',
		name: 'reg-company',
		component: () => import('@/views/RegCompany/index.vue')
	},
	{
		path: '/test',
		name: 'Test',
		component: () => import('@/views/Test.vue')
	},
];

const router = createRouter({
	history: routerHistory,
	routes,
});

export default router;
